import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Account } from '../entities/account.entity';
import { PassportModule } from '@nestjs/passport';
import { MailAccountService } from './mail-account.service';
import { MailAccountController } from './mail-account.controller';
import { AuthModule } from '../auth/auth.module';

@Module({
  imports: [TypeOrmModule.forFeature([Account]), AuthModule, PassportModule],
  providers: [MailAccountService],
  controllers: [MailAccountController],
  exports: [MailAccountService],
})
export class MailAccountModule {}
